package com.yancy.dao;

import com.yancy.entity.New;

import java.util.List;

public interface NewDao {
    public List<New> getNew();
    public boolean delete(String id);
    public boolean update(New updateNew);
    public boolean add(New addNew);
    public  New getSingleNew(String id);
}
